| ID | Highlight | Note | |
|---|---|---|---|
| {{ hl.id }} | {{ hl.text }} | {% if hl.note != None %}{{ hl.note}} | {% else %}{% endif %} |
{% set rows = sql("select * from highlight where book_id = :id", {"id": id}) %} {% if not rows %} {{ raise_404("Book not found") }} {% endif %}
| ID | Highlight | Note | |
|---|---|---|---|
| {{ hl.id }} | {{ hl.text }} | {% if hl.note != None %}{{ hl.note}} | {% else %}{% endif %} |